Optimal. Leaf size=91 \[ -\frac {a^2 \coth ^3(c+d x)}{3 d}+\frac {a^2 \coth (c+d x)}{d}+\frac {1}{8} b x (16 a+3 b)+\frac {b^2 \sinh (c+d x) \cosh ^3(c+d x)}{4 d}-\frac {5 b^2 \sinh (c+d x) \cosh (c+d x)}{8 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.16, antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {3217, 1259, 1805, 1261, 207} \[ -\frac {a^2 \coth ^3(c+d x)}{3 d}+\frac {a^2 \coth (c+d x)}{d}+\frac {1}{8} b x (16 a+3 b)+\frac {b^2 \sinh (c+d x) \cosh ^3(c+d x)}{4 d}-\frac {5 b^2 \sinh (c+d x) \cosh (c+d x)}{8 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 207
Rule 1259
Rule 1261
Rule 1805
Rule 3217
Rubi steps
\begin {align*} \int \text {csch}^4(c+d x) \left (a+b \sinh ^4(c+d x)\right )^2 \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\left (a-2 a x^2+(a+b) x^4\right )^2}{x^4 \left (1-x^2\right )^3} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=\frac {b^2 \cosh ^3(c+d x) \sinh (c+d x)}{4 d}+\frac {\operatorname {Subst}\left (\int \frac {4 a^2-12 a^2 x^2+\left (12 a^2+8 a b-b^2\right ) x^4-4 (a+b)^2 x^6}{x^4 \left (1-x^2\right )^2} \, dx,x,\tanh (c+d x)\right )}{4 d}\\ &=-\frac {5 b^2 \cosh (c+d x) \sinh (c+d x)}{8 d}+\frac {b^2 \cosh ^3(c+d x) \sinh (c+d x)}{4 d}-\frac {\operatorname {Subst}\left (\int \frac {-8 a^2+16 a^2 x^2+\left (-8 a^2-16 a b-3 b^2\right ) x^4}{x^4 \left (1-x^2\right )} \, dx,x,\tanh (c+d x)\right )}{8 d}\\ &=-\frac {5 b^2 \cosh (c+d x) \sinh (c+d x)}{8 d}+\frac {b^2 \cosh ^3(c+d x) \sinh (c+d x)}{4 d}-\frac {\operatorname {Subst}\left (\int \left (-\frac {8 a^2}{x^4}+\frac {8 a^2}{x^2}+\frac {b (16 a+3 b)}{-1+x^2}\right ) \, dx,x,\tanh (c+d x)\right )}{8 d}\\ &=\frac {a^2 \coth (c+d x)}{d}-\frac {a^2 \coth ^3(c+d x)}{3 d}-\frac {5 b^2 \cosh (c+d x) \sinh (c+d x)}{8 d}+\frac {b^2 \cosh ^3(c+d x) \sinh (c+d x)}{4 d}-\frac {(b (16 a+3 b)) \operatorname {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\tanh (c+d x)\right )}{8 d}\\ &=\frac {1}{8} b (16 a+3 b) x+\frac {a^2 \coth (c+d x)}{d}-\frac {a^2 \coth ^3(c+d x)}{3 d}-\frac {5 b^2 \cosh (c+d x) \sinh (c+d x)}{8 d}+\frac {b^2 \cosh ^3(c+d x) \sinh (c+d x)}{4 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.33, size = 68, normalized size = 0.75 \[ \frac {3 b (64 a d x-8 b \sinh (2 (c+d x))+b \sinh (4 (c+d x))+12 b c+12 b d x)-32 a^2 \coth (c+d x) \left (\text {csch}^2(c+d x)-2\right )}{96 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 2.06, size = 300, normalized size = 3.30 \[ \frac {3 \, b^{2} \cosh \left (d x + c\right )^{7} + 21 \, b^{2} \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{6} - 33 \, b^{2} \cosh \left (d x + c\right )^{5} + 15 \, {\left (7 \, b^{2} \cosh \left (d x + c\right )^{3} - 11 \, b^{2} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{4} + {\left (128 \, a^{2} + 81 \, b^{2}\right )} \cosh \left (d x + c\right )^{3} + 8 \, {\left (3 \, {\left (16 \, a b + 3 \, b^{2}\right )} d x - 16 \, a^{2}\right )} \sinh \left (d x + c\right )^{3} + 3 \, {\left (21 \, b^{2} \cosh \left (d x + c\right )^{5} - 110 \, b^{2} \cosh \left (d x + c\right )^{3} + {\left (128 \, a^{2} + 81 \, b^{2}\right )} \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )^{2} - 3 \, {\left (128 \, a^{2} + 17 \, b^{2}\right )} \cosh \left (d x + c\right ) - 24 \, {\left (3 \, {\left (16 \, a b + 3 \, b^{2}\right )} d x - {\left (3 \, {\left (16 \, a b + 3 \, b^{2}\right )} d x - 16 \, a^{2}\right )} \cosh \left (d x + c\right )^{2} - 16 \, a^{2}\right )} \sinh \left (d x + c\right )}{192 \, {\left (d \sinh \left (d x + c\right )^{3} + 3 \, {\left (d \cosh \left (d x + c\right )^{2} - d\right )} \sinh \left (d x + c\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 142, normalized size = 1.56 \[ \frac {3 \, b^{2} e^{\left (4 \, d x + 4 \, c\right )} - 24 \, b^{2} e^{\left (2 \, d x + 2 \, c\right )} + 24 \, {\left (16 \, a b + 3 \, b^{2}\right )} {\left (d x + c\right )} - 3 \, {\left (96 \, a b e^{\left (4 \, d x + 4 \, c\right )} + 18 \, b^{2} e^{\left (4 \, d x + 4 \, c\right )} - 8 \, b^{2} e^{\left (2 \, d x + 2 \, c\right )} + b^{2}\right )} e^{\left (-4 \, d x - 4 \, c\right )} - \frac {256 \, {\left (3 \, a^{2} e^{\left (2 \, d x + 2 \, c\right )} - a^{2}\right )}}{{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )}^{3}}}{192 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 75, normalized size = 0.82 \[ \frac {a^{2} \left (\frac {2}{3}-\frac {\mathrm {csch}\left (d x +c \right )^{2}}{3}\right ) \coth \left (d x +c \right )+2 a b \left (d x +c \right )+b^{2} \left (\left (\frac {\left (\sinh ^{3}\left (d x +c \right )\right )}{4}-\frac {3 \sinh \left (d x +c \right )}{8}\right ) \cosh \left (d x +c \right )+\frac {3 d x}{8}+\frac {3 c}{8}\right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 165, normalized size = 1.81 \[ \frac {1}{64} \, b^{2} {\left (24 \, x + \frac {e^{\left (4 \, d x + 4 \, c\right )}}{d} - \frac {8 \, e^{\left (2 \, d x + 2 \, c\right )}}{d} + \frac {8 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d} - \frac {e^{\left (-4 \, d x - 4 \, c\right )}}{d}\right )} + 2 \, a b x + \frac {4}{3} \, a^{2} {\left (\frac {3 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d {\left (3 \, e^{\left (-2 \, d x - 2 \, c\right )} - 3 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )} - 1\right )}} - \frac {1}{d {\left (3 \, e^{\left (-2 \, d x - 2 \, c\right )} - 3 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )} - 1\right )}}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.17, size = 164, normalized size = 1.80 \[ \frac {b\,x\,\left (16\,a+3\,b\right )}{8}-\frac {4\,a^2}{3\,d\,\left ({\mathrm {e}}^{4\,c+4\,d\,x}-2\,{\mathrm {e}}^{2\,c+2\,d\,x}+1\right )}+\frac {b^2\,{\mathrm {e}}^{-2\,c-2\,d\,x}}{8\,d}-\frac {b^2\,{\mathrm {e}}^{2\,c+2\,d\,x}}{8\,d}-\frac {b^2\,{\mathrm {e}}^{-4\,c-4\,d\,x}}{64\,d}+\frac {b^2\,{\mathrm {e}}^{4\,c+4\,d\,x}}{64\,d}-\frac {8\,a^2\,{\mathrm {e}}^{2\,c+2\,d\,x}}{3\,d\,\left (3\,{\mathrm {e}}^{2\,c+2\,d\,x}-3\,{\mathrm {e}}^{4\,c+4\,d\,x}+{\mathrm {e}}^{6\,c+6\,d\,x}-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________